<?php
/**
 * @Author: Administrator
 * @Date: 2016/8/17
 * @Last Modified by: Administrator
 * @Last Modified time: 2016/8/17
 */
define('BASEDIR', __DIR__);
include BASEDIR.'/framework/Loader.php';
spl_autoload_register('\\Framework\\Loader::autoload');

echo '<pre>';
$app = new Framework\Container();
$app->bind('App\Model\Visit', 'App\\Model\\Leg');
var_dump($app);
$app->bind('traveller', 'App\\Model\\Traveller');
$tra = $app->make('traveller');
$tra->visitTibet();